package com.qishen.pojo;

import com.qishen.enums.AuditStatusEnum;
import com.qishen.enums.IsCharEnum;
import com.qishen.enums.TypeEnum;
import com.qishen.enums.StateEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Store {
    private byte id;
    private String name;                    //门店全称
    private String simpleName;              //门店简写
    private int code;                       //门店编码
    private String imgUrl;                  //门店图片
    private String province;                //省
    private String city;                    //市
    private String county;                  //区县
    private String address;                 //地址
    private String addressLongitude;        //经度
    private String addressLatitude;         //维度
    private int cityCode;                   //城市编码
    private String contactName;             //联系人
    private int contactPhone;               //联系电话
    private int typeLab;                    //类型标签
    private TypeEnum type;                  //类别：1 汽修厂  2；配件商
    private IsCharEnum isChar;              //是否连锁：1是，2否
    private char source;                    //来源
    private char status;                    //状态
    private int isDelete;
    private Date createTime;                //创建日期
    private Date updateTime;                //更新日期
    private AuditStatusEnum auditStatus;    //审核状态：0 未审核 ，1已审核


    // TODO: 2021/4/23 配件目录表实体，还未建完（搞错，写配件目录代用） 
    private String businessCode;            //配件商编码
    private String businessName;            //配件商名称
    private String componentName;           //配件名称
    private String typeName;                //分类名称
    private String specification;           //规格型号
    private double price;                   //价格
    private String supplier;                //供应商名称
    private String factoryName;             //生产厂家
    private String alias;                   //别名
    private StateEnum state;                //是否下架.1:下架,0:上架
    private byte componentTypeId;           //一级配件分类Id
    private byte componentSubTypeId;        //二级配件分类id
    private byte componentBrandId;          //配件品牌id

}
